
import Cookies from "js-cookie"; 


export const set_logins = async (account, password,uniqueId) => {
   
    console.log(account+ password);
    if (account == "123" && password == "123") {
        Cookies.set('uniqueId', uniqueId, { expires: 7 });
       
        return true;
    } else {
       
        return false;
    }
}

export const get_logins = () => {
    const uniqueId = Cookies.get('uniqueId');
    if(uniqueId!=null){
        return true;
    }else{
        return false;
    }
}

